package com.finance.loan;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: Apollo
 * @Date: 2021/4/20
 * @Description: 融资公司账户信息
 */
@Entity
@Table(name = "enterprise_financing_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EnterpriseFinancingInfo implements Serializable {
    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 标识
     */
    private String code;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否删除 1:否 2:是
     */
    private Integer isDelete;

    /**
     * 融资企业名称
     */
    private String companyName;

    /**
     * 资金
     */
    private Double funds;

    /**
     * 角色标识
     */
    private String roleInfoCode;





    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CODE = "code";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_IS_DELETE = "is_delete";

    public static final String COL_COMPANY_NAME = "company_name";

    public static final String COL_FUNDS = "funds";

    public static final String COL_ROLE_INFO_CODE = "role_info_code";
}